package signGrammar;

import java.awt.*;

public class CNullShape implements IShape {

	private Point headTail;	
	public CNullShape(Point startPoint) {
		this.headTail = startPoint;
	}
	
	public CNullShape(){
		this( new Point() );
	}
	
	@Override
	public IShape cloneForHead(Point headPoint) {
		return new CNullShape(headPoint);
	}

	@Override
	public IShape cloneForTail(Point tailPoint) {
		return new CNullShape(tailPoint);
	}

	@Override
	public Point getHead() {
		return headTail;
	}

	@Override
	public Point getTail() {
		return headTail;
	}

	@Override
	public IShape print(Graphics graphics) {
		return this;
	}

}
